From 31909aaf5a8511eeaf2f17d02836de5cf88c2d85 Mon Sep 17 00:00:00 2001 From: Drew Parsons Date: Sat, 21 Feb 2026 11:55:45 +0100 Subject: [PATCH] sh4: override dh_dwz to not process libvtkCommonCore it fails with "Cannot allocate memory" --- debian/changelog | 7 +++++++ debian/rules | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index f817d5a32..fdaed80e8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vtk9 (9.5.2+dfsg3-8) UNRELEASED; urgency=medium + + * sh4: override dh_dwz to not process libvtkCommonCore + which fails with "Cannot allocate memory" + + -- Drew Parsons Sat, 21 Feb 2026 11:54:22 +0100 + vtk9 (9.5.2+dfsg3-7) unstable; urgency=medium * Team upload. diff --git a/debian/rules b/debian/rules index f5beea5ef..5a40cd2b4 100755 --- a/debian/rules +++ b/debian/rules @@ -162,3 +162,8 @@ execute_after_dh_install: execute_after_dh_installdocs-indep: find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/raw\.githubusercontent\.com//g' find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/cdn\.jsdelivr\.net\/npm\/mathjax@2/\/usr\/share\/javascript\/mathjax/g' + +ifeq ($(DEB_HOST_ARCH),sh4) +override_dh_dwz: + dh_dwz -X libvtkCommonCore +endif -- 2.30.2